<template>
  <div class="loginBox">
    <div class="login">
      <p>
        <strong><b>A</b>YM</strong>
        <span>V-Test</span>
      </p>
      <el-input v-model="userName" placeholder="请输入GUID"></el-input>
      <el-input v-model="passWord" type="password" placeholder="请输入密码"></el-input>
      <el-button type="primary" @click="login()">登陆</el-button>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Login',
  data() {
    return {
      userName: '',
      passWord: '',
    }
  },
  methods: {
    login() {
      this.$router.push({ path: '/search' })
    },
  },
}
</script>

<style scoped lang="scss"></style>
